package cloud.alibaba.study.vo.seckill;

import java.math.BigDecimal;
import java.util.Date;

import cloud.alibaba.study.entity.product.Product;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SeckillProductVo {

	private Long seckillProductId;
	private Long seckillActId;
	private Long productId;
	private BigDecimal seckillPrice;
	private Integer seckillCount;
	private Integer seckillLimit;
	private Short seckillSort;
	private Date createTime;

	//商品基本信息
	private Product productInfo;
	//当前商品秒杀开始时间
	private Long startTime;
	//当前商品秒杀结束时间
	private Long endTime;
	
	private String randomCode;
	
	//秒杀活动ID_秒杀商品ID拼接，作为前后台值传递使用
	private String skillId;

}
